















class FaceErrorCode {
// accessToken
  static int ACCESS_TOKEN_INVALID_PARAMETER = 100;
  static int ACCESS_TOKEN_INVALID_ACCESS_TOKEN = 101;
  static int ACCESS_TOKEN_PARSE_ERROR = 110;

  static int NETWORK_REQUEST_ERROR = 10000;
  static int JSON_PARSE_ERROR = 11000;
  static int VERIFY_NET_ERROR_222361 = 222361;
  static int VERIFY_NET_ERROR_282105 = 282105;

// {"error_msg":"Open api request limit reached","error_code":4}
  static int REQUEST_LIMIT_REACHED = 4;

// OCR错误码
  static int OCR_RECOGNIZE_IDCARD_ERROR_00 = 216200;
  static int OCR_RECOGNIZE_IDCARD_ERROR_33 = 216633;

  static int OCR_NET_ERROR_30 = 216630;
  static int OCR_NET_ERROR_34 = 216634;
  static int OCR_NET_ERROR_000 = 282000;
  static int OCR_NET_ERROR_100 = 282100;
  static int OCR_NET_ERROR_02 = 282102;
  static int OCR_NET_ERROR_12 = 282112;
  static int OCR_NET_ERROR_04 = 283504;

// 风控错误码
  static int VERIFY_NET_ERROR = 222361;
  static int VERIFY_NET_ERROR_05 = 282105;

  static int VERIFY_NO_PICTURE_50 = 222350;
  static int VERIFY_NO_PICTURE_55 = 222355;

  static int VERIFY_LIVENESS_FAILURE = 223120;

  static int VERITY_QUALITY_FAILURE = 222356;

  static int VERITY_NO_MATCH_51 = 222351;
  static int VERITY_NO_MATCH_54 = 222354;
  static int VERITY_NO_MATCH_60 = 222360;

  static int LOW_SCORE = -1;
// common
  static int MODULE_CLOSED = 216015;
  static int INVALID_PARAMS = 216100;
  static int NOT_ENOUGH_PARAMS = 216101;
  static int SERVICE_NOT_SUPPORTED = 216102;
  static int PARAM_TOO_LONG = 216103;
  static int APP_ID_NOT_EXIST = 216110;
  static int INVALID_USER_ID = 216111;
  static int EMPTY_IMAGE = 216200;
  static int INVALID_FORMAT = 216201;
  static int INVALID_IMAGE_SIZE = 216202;
  static int DATABASE_ERROR = 216300;
  static int BACKEND_ERROR = 216400;
  static int INTERNAL_ERROR = 216401;
  static int UNKNOWN_ERROR = 216500;

  static int INVALID_ID_NUMBER_FORMAT = 216600;
  static int ID_NUMBER_AND_NAME_MISMATCH = 216601;
  static int USER_NOT_EXIST = 216611;
  static int USER_NOT_FOUND = 216613;
  static int NOT_ENOUGH_IMAGES = 216614;
  static int IMAGE_PROCESS_FAILED = 216615;
  static int IMAGE_ALREADY_EXIST = 216616;
  static int ADD_USER_FAILED = 216617;
  static int NO_USER_IN_GROUP = 216618;
  static int RECOGNIZE_ERROR = 216630;
  static int RECOGNIZE_BANK_CARD_ERROR = 216631;
}


